package part11_模板模式_豆浆制作问题.p02_升级;

/**
 * @ClassName: Client
 * @Author: AllenSun
 * @Date: 2020/3/4 22:51
 */
public class Client {
    public static void main(String[] args) {
        System.out.println("------制作红豆豆浆------");
        SoyaMilk redBeanSoya = new RedBeanSoyaMilk();
        redBeanSoya.make();
        System.out.println("------制作花生豆浆------");
        SoyaMilk PeanutSoya = new PeanutSoyaMilk();
        PeanutSoya.make();
        System.out.println("------制作原味豆浆------");
        SoyaMilk PureSoya = new PureSoyaMilk();
        PureSoya.make();
    }
}
